Meaning of the word "the danger past, and God forgotten" in English

What does "the danger past, and God forgotten" mean in English? Explore the meaning, pronunciation, and specific usage of this word with Lingoland.

the danger past, and God forgotten

US /ðə ˈdeɪndʒər pæst, ænd ɡɑːd fərˈɡɑːtn/
UK /ðə ˈdeɪndʒə pɑːst, ənd ɡɒd fəˈɡɒtn/
"the danger past, and God forgotten" picture

Idiom

used to describe the human tendency to pray or turn to God during a crisis, only to ignore or forget religious or moral obligations once the threat has disappeared

Example:
He promised to change his life while he was sick, but it was a case of the danger past, and God forgotten as soon as he recovered.
Many people turn to faith during a war, but often it is the danger past, and God forgotten.